<script setup lang="ts">
// 使用路由参数
 const route = useRoute();
 const keywords = ref('');

 onMounted(()=>{
    keywords.value = route.params.keywords
 })
</script>

<template>
    <div>
        {{ keywords }}
    </div>
</template>

<style scoped></style>